package com.hiof.servercommunication.background.job.listener;

/**
 * Created by IntelliJ IDEA.
 * User: manish
 * Date: 4/6/12
 * Time: 8:37 PM
 * To change this template use File | Settings | File Templates.
 */
public interface ITeamMemberLocationListener extends IListener {

//    @Override
//    public void onListen(Packet packet) {
//        TeamMemberLocationPacket teamMemberLocationPacket = (TeamMemberLocationPacket) packet;
//        List<MemberLocationInfo> memberList = teamMemberLocationPacket.getTeamMemberLocations();
//        MoraService moraService = MoraService.getInstance();
//        for (MemberLocationInfo memberInfo : memberList) {
//            GeoPoint moraGeoPoint = memberInfo.getGeoPoint();
//            moraService.updateOwnLocationInfo(memberInfo.getUserid(), moraGeoPoint.getLat(), moraGeoPoint.getLng(), moraGeoPoint.getAltitude(), memberInfo.getSpeed());
//        }
//        Utility.debug(this.getClass().toString(), "packet receive");
//    }
}
